//
//  NSMutableAttributedString+Util.m
//  FiveHealth
//
//  Created by WKC on 2018/5/31.
//  Copyright © 2018年 com.wukangcheng.fivehealths. All rights reserved.
//

#import "NSMutableAttributedString+Util.h"

@implementation NSMutableAttributedString (Util)

- (void)setOriginImg:(UIImage *)originImg
{
    objc_setAssociatedObject(self, @"originImg", originImg,
                             OBJC_ASSOCIATION_COPY_NONATOMIC);
}
- (void)setCutedImg:(UIImage *)cutedImg
{
    objc_setAssociatedObject(self, @"cutedImg", cutedImg,
                             OBJC_ASSOCIATION_COPY_NONATOMIC);
}
- (UIImage *)originImg
{
    return objc_getAssociatedObject(self, @"originImg");
}
- (UIImage *)cutedImg
{
    return objc_getAssociatedObject(self, @"cutedImg");
}

@end
